﻿using System;
using System.Collections.Generic;

namespace LH.Model.PU
{
    //BOM
    public class API_BOM
    {

         /// <summary>
            /// 
            /// </summary>
        public string cParentCode { get; set; }
        //
        public int iBomid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cVersion { get; set; }
            /// <summary>
            /// 10版本
            /// </summary>
            public string cVersionDesc { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public DateTime dVersionEffDate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public DateTime dCreateDate { get; set; }
            /// <summary>
            /// 李四
            /// </summary>
            public string cCreateUser { get; set; }
            /// <summary>
            /// 张四
            /// </summary>
            public string cRelsUser { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public DateTime dRelsDate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<Childs> ItemList { get; set; }
        

        public class Childs
        {
            /// <summary>
            /// 
            /// </summary>
            public string cSortSeq { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string cChildCode { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal dBaseQtyN { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal dBomscrap { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string dOpSeq { get; set; }
            /// <summary>
            /// 工序1
            /// </summary>
            //public string opName { get; set; }
            ///// <summary>
            ///// 芯片位置
            ///// </summary>
            //public string chipLocation { get; set; }
            ///// <summary>
            ///// 替代料先不写
            ///// </summary>
            //public string subInvCode1 { get; set; }
            ///// <summary>
            ///// 
            ///// </summary>
            //public string subInvCode2 { get; set; }
            ///// <summary>
            ///// 
            ///// </summary>
            //public string subInvCode3 { get; set; }
            ///// <summary>
            ///// 
            ///// </summary>
            //public string subInvCode4 { get; set; }
            ///// <summary>
            ///// 
            ///// </summary>
            //public string subInvCode5 { get; set; }
            /// </summary>
            public List<SubList> subList { get; set; }
        }
        public class SubList
        {
            /// <summary>
            /// 替代料存货编码
            /// </summary>
            public string cSubCode { get; set; }
            /// <summary>
            /// 替代料的partid
            /// </summary>
            public string SubPartid { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string cFactor { get; set; } 
        }







    }


}
